<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>VerticalAlign样式说明</title>
    <style type="text/css">
        .app>div{
            display:inline-block;
            vertical-align:middle;/* Top 按顶部对齐；middle 按中线对齐 */
        }
        .div0{
            width:30px;
            height:50px;
            background-color:red;
        }
        .div1{
            width:30px;
            height:70px;
            background-color:green;
        }
        .div2{
            width:30px;
            height:90px;
            background-color:blue;
        }
    </style>
</head>
<body>
    <div class="app">
        <div class="div0"></div>
        <div class="div1"></div>
        <div class="div2"></div>
    </div>
</body>
</html>